/**
 * lilang
 * BusinessHanlder.java
 * 2013-10-31上午9:10:44
 */
package com.cq.oa.handler;

import java.util.Map;

/**
 * @author lilang 业务处理
 *
 */
public interface BusinessHanlder {
	
	
	
	public void doStartBefore(String businessId,Long type);
	
	public void doStartafter(String businessId,Long type);
	
	public void doSaveBefore(Map<String,Object> map,String businessId,Long type);
	
	public void doSaveafter(Map<String,Object> map,String businessId,Long type);
	
	public void doCompleteTaskBefore(String businessId,Long type);
	
	public void doCompleteTaskafter(String businessId,Long type);
	
	/**
	 * 获取 标题
	 * @param map
	 * @return
	 * lilang 
	 * 2013-10-31上午9:17:10
	 */
	public String regTitle(Map<String,Object> map,String type);
	

	public void doClearDate(String businessId,Long type);
	
}
